package java_IfAndSwitch.demo2;

/**
 * 有序的枚举类,taableswitch建表
 */
public enum Day {
    //编号从0开始,每个枚举值的编号就是它的 ordinal() 方法返回的值,值为1开始递增
    MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY;
}
